package com.fly.persistence;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;

import java.io.Serializable;

/**
 * @author Fly
 * @Description //NoRepositoryBean 必须使用该注解标明，此接口不是一个Repository Bean
 * @Date Created in 14:53 2017/11/9
 * @Modified by
 */
@NoRepositoryBean
public interface MyJpaRepository<T,ID extends Serializable> extends JpaRepository<T,ID>,JpaSpecificationExecutor<T> {
}
